from Tkinter import Tk
from checkers_view import CheckersUI
from checkers_config import *

def main():
    root = Tk()
    mainframe = CheckersUI(root, is_graphical=True)
    mainframe.root.update()
    mainframe.root.mainloop()

if __name__ == '__main__':
    init_precomputed_16bits()
    init_precomputed_masks()
    init_starting_checkers_dict()
    main()